package io.renren.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Set;

/**
 * 站点
 * 
 * @author ${author}
 * @email ${email}
 * @date 2019-04-29 22:08:26
 */
@Data
@TableName("tb_stations")
public class StationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId
	private Long id;
	/**
	 * 站点ID
	 */
	private String statId;
	/**
	 * 站点名
	 */
	private String name;
	/**
	 * 终点站  0：否   1：是
	 */
	private Integer isTerminal;
	/**
	 * 最早发车时间
	 */
	private String earliestDepTime;
	/**
	 * 最晚发车时间
	 */
	private String latestDepTime;
	/**
	 * 状态  0：禁用   1：正常
	 */
	private Integer status;

	private Set<LineEntity> lines;

}
